package cn.yunyichina.reservation.constant;

/**
 * Created by Lullaby on 2016/9/1.
 */
public interface PayConst {

    String PAY_TYPE = "pay_type";

    String CLIENT_IP = "client_ip";

    String WECHAT_RETURN_CODE = "return_code";

    String WECHAT_RESULT_CODE = "result_code";

    String WECHAT_RETURN_MESSAGE = "return_msg";

    String WECHAT_SUCCESS_CODE = "SUCCESS";

    String WECHAT_FAILURE_CODE = "FAIL";

    /******* 支付状态 - start *******/

    byte PAY_STATUS_NOTPAY = 1;// 未支付

    byte PAY_STATUS_PAYING = 2;// 支付中

    byte PAY_STATUS_PAID = 3;// 已支付

    byte PAY_STATUS_FAILED = 4;// 支付失败

    byte PAY_STATUS_REFUNDED = 5;// 已退费

    byte PAY_STATUS_REFUND_FAILED = 6;// 退费失败

    /******* 支付状态 - end *******/

}
